home *** CD-ROM | disk | FTP | other *** search
Wrap
<?xml version="1.0" encoding="EUC-JP"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> <title>Apache ñ╬ IP Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚Ñ╡Ñ▌í╝Ñ╚ - Apache HTTP Ñ╡í╝Ñ╨</title> <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /> <link href="../images/favicon.ico" rel="shortcut icon" /></head> <body id="manual-page"><div id="page-header"> <p class="menu"><a href="../mod/">ÑΓÑ╕Ñσí╝Ñδ</a> | <a href="../mod/directives.html">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">═╤╕∞</a> | <a href="../sitemap.html">Ñ╡ÑñÑ╚Ñ▐Ñ├Ñ╫</a></p> <p class="apache">Apache HTTP Ñ╡í╝Ñ╨ Ñ╨í╝Ñ╕ÑτÑ≤ 2.2</p> <img alt="" src="../images/feather.gif" /></div> <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div> <div id="path"> <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Ñ╡í╝Ñ╨</a> > <a href="http://httpd.apache.org/docs/">Ñ╔Ñ¡ÑσÑßÑ≤Ñ╞í╝Ñ╖ÑτÑ≤</a> > <a href="../">Ñ╨í╝Ñ╕ÑτÑ≤ 2.2</a> > <a href="./">Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚</a></div><div id="page-content"><div id="preamble"><h1>Apache ñ╬ IP Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚Ñ╡Ñ▌í╝Ñ╚</h1> <div class="toplang"> <p><span>Available Languages: </span><a href="../en/vhosts/ip-based.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../fr/vhosts/ip-based.html" hreflang="fr" rel="alternate" title="FranŽ«ais"> fr </a> | <a href="../ja/vhosts/ip-based.html" title="Japanese"> ja </a> | <a href="../ko/vhosts/ip-based.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p> </div> </div> <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#requirements">Ñ╖Ñ╣Ñ╞Ñα═╫╖∩</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#howto">Apache ñ╬└▀─Ω╩²╦í</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#multiple">╩ú┐⌠Ñ╟í╝ÑΓÑ≤ñ╬└▀─Ω</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#single">╩ú┐⌠ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╬└▀─Ωñ≥ñ╖ñ┐ Ñ╟í╝ÑΓÑ≤ñ≥░∞ñ─└▀─Ωñ╣ñδ</a></li> </ul><h3>╗▓╛╚</h3><ul class="seealso"><li> <a href="name-based.html">╠╛┴░Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚Ñ╡Ñ▌í╝Ñ╚</a> </li></ul></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="requirements" id="requirements">Ñ╖Ñ╣Ñ╞Ñα═╫╖∩</a></h2> <p><cite>IP Ñ┘í╝Ñ╣</cite> ñ╚ñññª╠╛┴░ñ¼╝¿ñ╣ñΦñªñ╦íóÑ╡í╝Ñ╨ñ╦ñ╧ <strong>IP Ñ┘í╝Ñ╣ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╜ñ∞ñ╛ñ∞ñ╦ñ─ñ¡íó╩╠í╣ñ╬ IP ÑóÑ╔Ñ∞Ñ╣ñ¼ ╔¼═╫ñ╟ñ╣</strong>íú╩ú┐⌠ñ╬╩¬═²Ñ│Ñ═Ñ»Ñ╖ÑτÑ≤ñ≥╗²ñ├ñ╞ñññδÑ▐Ñ╖Ñ≤ñ≥═╤░╒ñ╣ñδñ½íó ║╟╢ßñ╬ѬÑ┌Ñ∞í╝Ñ╞ÑúÑ≤Ñ░Ñ╖Ñ╣Ñ╞Ñαñ╟Ñ╡Ñ▌í╝Ñ╚ñ╡ñ∞ñ╞ñññδÑ╨í╝Ñ┴ÑπÑδ ÑñÑ≤Ñ┐Ñ╒Ѻí╝Ñ╣ (╛▄║┘ñ╧Ñ╖Ñ╣Ñ╞Ñαñ╬└Γ╠└╜±ñ≥╞╔ñ≤ñ╟ñ»ñ└ñ╡ññíúñ┐ñññ╞ñññ╧ "ip Ñ¿ÑñÑΩÑóÑ╣" ñ╚╕╞ñ╨ñ∞ñ╞ñññ╞íó└▀─Ωñ╦ñ╧╔ß─╠ "ifconfig" Ñ│Ñ▐Ñ≤Ñ╔ñ≥ ╗╚ñññ▐ñ╣) ñ≥╗╚ñªñ½ñ╟╝┬╕╜ñ╟ñ¡ñ▐ñ╣íú</p> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="howto" id="howto">Apache ñ╬└▀─Ω╩²╦í</a></h2> <p>╩ú┐⌠ñ╬Ñ█Ñ╣Ñ╚ñ≥Ñ╡Ñ▌í╝Ñ╚ñ╣ñδñΦñªñ╦ Apache ñ≥└▀─Ωñ╣ñδ╩²╦íñ╧ ╞≤─╠ñΩñóñΩñ▐ñ╣íú╩╠ñ╬ <code class="program"><a href="../programs/httpd.html">httpd</a></code> Ñ╟í╝ÑΓÑ≤ñ≥│╞Ñ█Ñ╣Ñ╚╦Φñ╦╝┬╣╘ñ╣ñδñ½íó ñ╣ñ┘ñ╞ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ≥Ñ╡Ñ▌í╝Ñ╚ñ╣ñδÑ╟í╝ÑΓÑ≤ñ≥░∞ñ─╝┬╣╘ñ╣ñδñ½ñ╟ñ╣íú</p> <p>░╩▓╝ñ╬ñ╚ñ¡ñ╦ñ╧╩ú┐⌠ñ╬Ñ╟í╝ÑΓÑ≤ñ≥╗╚ñªñ╚╬╔ñññ╟ñ╖ñτñª:</p> <ul> <li>▓±╝╥1 ñ╧ѪѺÑ╓╖╨═│░╩│░ñ╟ñ╧▓±╝╥2 ñ½ñΘñ╧Ñ╟í╝Ñ┐ñ≥╞╔ñ▐ñ∞ñ┐ñ»ñ╩ññíó ñ╚ñññ├ñ┐Ñ╗Ñ¡ÑσÑΩÑ╞Ñúñ╬╩¼╬Ññ╬╠Σ┬Ωñ¼ñóñδñ╚ñ¡íúñ│ñ╬╛∞╣τíóñ╜ñ∞ñ╛ñ∞ <code class="directive"><a href="../mod/mpm_common.html#user">User</a></code>, <code class="directive"><a href="../mod/mpm_common.html#group">Group</a></code>, <code class="directive"><a href="../mod/mpm_common.html#listen">Listen</a></code>, <code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code> ñ╬└▀─Ωñ¼░πñª╞≤ñ─ñ╬Ñ╟í╝ÑΓÑ≤ñ≥ ╝┬╣╘ñ╣ñδ╔¼═╫ñ¼ñóñΩñ▐ñ╣íú</li> <li>Ñ▐Ñ╖Ñ≤ñ╬ñ╣ñ┘ñ╞ñ╬ IP Ñ¿ÑñÑΩÑóÑ╣ñ≥ listen ñ╣ñδñ└ñ▒ñ╬ ÑßÑΓÑΩñ╚Ñ╒ÑíÑñÑδ╡¡╜╥╗╥ñ╬═╛═╡ñ¼ñóñδñ╚ñ¡íú<code class="directive"><a href="../mod/mpm_common.html#listen">Listen</a></code> ñ╧í╓Ñ∩ÑñÑδÑ╔ѽí╝Ñ╔í╫ ÑóÑ╔Ñ∞Ñ╣ñ½íó╞├─Ωñ╬ÑóÑ╔Ñ∞Ñ╣ñ╬ñ▀ñ≥ listen ñ╣ñδñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íú ñ╟ñ╣ñ½ñΘíó▓┐ñΘñ½ñ╬═²═│ñ╟╞├─Ωñ╬ÑóÑ╔Ñ∞Ñ╣ñ≥ listen ñ╖ñ╩ñ▒ñ╨ñ╩ñΘñ╩ññ ñ╚ñ¡ñ╧íóñ╜ñ╬╞├─Ωñ╬ÑóÑ╔Ñ∞Ñ╣ñ≥ñ╣ñ┘ñ╞ listen ñ╣ñδ╔¼═╫ñ¼ñóñΩñ▐ñ╣íú (ñ┐ñ└ñ╖íó░∞ñ─ñ╬ <code class="program"><a href="../programs/httpd.html">httpd</a></code> ñ¼ N-1 ╕─ñ╬ÑóÑ╔Ñ∞Ñ╣ñ≥ listen ñ╖íó ╩╠ñ╬ <code class="program"><a href="../programs/httpd.html">httpd</a></code> ñ¼╗─ñΩñ╬ÑóÑ╔Ñ∞Ñ╣ñ≥ listen ñ╣ñδñ╚ñññ├ñ┐ñ│ñ╚ñ╧▓─╟╜ñ╟ñ╣íú)</li> </ul> <p>░╩▓╝ñ╬ñ╚ñ¡ñ╦ñ╧├▒╞╚ñ╬Ñ╟í╝ÑΓÑ≤ñ≥╗╚ñªñ╚╬╔ñññ╟ñ╖ñτñª:</p> <ul> <li>Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚┤╓ñ╟ñ╬ httpd ñ╬└▀─Ωñ≥╢ª═¡ñ╖ñ╞ñΓñΦñññ╚ñ¡íú</li> <li>Ñ▐Ñ╖Ñ≤ñ¼┬┐ñ»ñ╬ÑΩѻѿÑ╣Ñ╚ñ≥░╖ñªñ┐ñßíó╩╠Ñ╟í╝ÑΓÑ≤ñ≥╝┬╣╘ñ╣ñδñ│ñ╚ñ╦ñΦñδ └¡╟╜ñ╬─π▓╝ñ╬▒╞╢┴ñ¼├°ñ╖ñññ╚ñ¡íú</li> </ul> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="multiple" id="multiple">╩ú┐⌠Ñ╟í╝ÑΓÑ≤ñ╬└▀─Ω</a></h2> <p>│╞Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╦┬╨ñ╖ñ╞╩╠ñ╬ <code class="program"><a href="../programs/httpd.html">httpd</a></code> ñ╬ÑñÑ≤Ñ╣Ñ╚í╝Ñδñ≥╣╘ñ╩ñññ▐ñ╣íú └▀─ΩÑ╒ÑíÑñÑδ├µñ╬ <code class="directive"><a href="../mod/mpm_common.html#listen">Listen</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ≥╗╚ñ├ñ╞íó │╞ÑñÑ≤Ñ╣Ñ╚í╝Ñδñ╟Ñ╟í╝ÑΓÑ≤ñ¼░╖ñª IP ÑóÑ╔Ñ∞Ñ╣ (Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚) ñ≥┴¬┬≥ñ╖ñ▐ñ╣íú╬πñ¿ñ╨</p> <div class="example"><p><code> Listen www.smallco.com:80 </code></p></div> <p>ñ│ñ│ñ╟íóÑ█Ñ╣Ñ╚╠╛ñ╬┬σñ∩ñΩñ╦ IP ÑóÑ╔Ñ∞Ñ╣ñ≥╗╚ñª╩²ñ¼┐Σ╛⌐ñ╡ñ∞ñ╞ñññδñ│ñ╚ñ╦ ├φ░╒ñ╖ñ╞ñ¬ñññ╞ñ»ñ└ñ╡ññ (<a href="../dns-caveats.html">DNS ñ╬├φ░╒╗÷╣α</a> ╗▓╛╚)íú</p> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="single" id="single">╩ú┐⌠ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╬└▀─Ωñ≥ñ╖ñ┐ Ñ╟í╝ÑΓÑ≤ñ≥░∞ñ─└▀─Ωñ╣ñδ</a></h2> <p>ñ│ñ╬╛∞╣τñ╧íó░∞ñ─ñ╬ <code class="program"><a href="../programs/httpd.html">httpd</a></code> ñ¼╝τÑ╡í╝Ñ╨ñ╚ñ╣ñ┘ñ╞ñ╬Ñ╨í╝Ñ┴ÑπÑδÑ█Ñ╣Ñ╚ñ╬ÑΩѻѿÑ╣Ñ╚ñ≥ ╜Φ═²ñ╖ñ▐ñ╣íú└▀─ΩÑ╒ÑíÑñÑδñ╬ <code class="directive"><a href="../mod/core.html#virtualhost">VirtualHost</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ≥╗╚ñ├ñ╞íó <code class="directive"><a href="../mod/core.html#serveradmin">ServerAdmin</a></code>, <code class="directive"><a href="../mod/core.html#servername">ServerName</a></code>, <code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code>, <code class="directive"><a href="../mod/core.html#errorlog">ErrorLog</a></code>, <code class="directive"><a href="../mod/mod_log_config.html#transferlog">TransferLog</a></code> ñΣ <code class="directive"><a href="../mod/mod_log_config.html#customlog">CustomLog</a></code> └▀─ΩÑ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╬├═ñ¼│╞Ñ█Ñ╣Ñ╚╦Φñ╦░█ñ╩ñδ├═ñ╦└▀─Ωñ╡ñ∞ñδñΦñªñ╦ñ╖ñ▐ñ╣íú ╬πñ¿ñ╨</p> <div class="example"><p><code> <VirtualHost www.smallco.com><br /> ServerAdmin webmaster@mail.smallco.com<br /> DocumentRoot /groups/smallco/www<br /> ServerName www.smallco.com<br /> ErrorLog /groups/smallco/logs/error_log<br /> TransferLog /groups/smallco/logs/access_log<br /> </VirtualHost><br /> <br /> <VirtualHost www.baygroup.org><br /> ServerAdmin webmaster@mail.baygroup.org<br /> DocumentRoot /groups/baygroup/www<br /> ServerName www.baygroup.org<br /> ErrorLog /groups/baygroup/logs/error_log<br /> TransferLog /groups/baygroup/logs/access_log<br /> </VirtualHost> </code></p></div> <p>ñ│ñ│ñ╟íóÑ█Ñ╣Ñ╚╠╛ñ╬┬σñ∩ñΩñ╦ IP ÑóÑ╔Ñ∞Ñ╣ñ≥╗╚ñª╩²ñ¼┐Σ╛⌐ñ╡ñ∞ñ╞ñññδñ│ñ╚ñ╦ ├φ░╒ñ╖ñ╞ñ¬ñññ╞ñ»ñ└ñ╡ññ (<a href="../dns-caveats.html">DNS ñ╬├φ░╒╗÷╣α</a> ╗▓╛╚)íú</p> <p>Ñ╫ÑφÑ╗Ñ╣└╕└«ñ≥└⌐╕µñ╣ñδÑ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñΣñ╜ñ╬┬╛ñ╬ñññ»ñ─ñ½ñ╬Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ≥ ╜ⁿñññ╞íóñ█ñ▄<strong>ñ╣ñ┘ñ╞</strong>ñ╬└▀─ΩÑ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ≥ VirtualHost Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╬├µñ╦╜±ñ»ñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íúÑ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ¼ VirtualHost Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╟╗╚═╤ñ╟ñ¡ñδñ½ñ╔ñªñ½ñ╧ <a href="../mod/directives.html">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓║≈░·</a>ñ≥╗╚ñ├ñ╞<a href="../mod/directive-dict.html#Context">Ñ│Ñ≤Ñ╞Ñ¡Ñ╣Ñ╚</a>ñ╬ ═≤ñ≥─┤ñ┘ñ╞ñ»ñ└ñ╡ññíú</p> <p><a href="../suexec.html">suEXECÑΘÑ├Ñ╤í╝</a>ñ≥╗╚ñ├ñ╞ñññδ╛∞╣τñ╧íó <code class="directive"><a href="../mod/mod_suexec.html#suexecusergroup">SuexecUserGroup</a></code> Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ≥ VirtualHost Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓ñ╬├µñ╟╗╚═╤ñ╣ñδñ│ñ╚ñ¼ñ╟ñ¡ñ▐ñ╣íú</p> <p><em>Ñ╗Ñ¡ÑσÑΩÑ╞Ñú:</em> ÑφÑ░Ñ╒ÑíÑñÑδñ≥╜±ñ»╛∞╜Ωñ≥╗╪─Ωñ╣ñδñ╚ñ¡ñ╧íó Apache ñ≥╡»╞░ñ╖ñ┐ѵí╝Ñ╢░╩│░ñ¼ñ╜ñ╬Ñ╟ÑúÑ∞Ñ»Ñ╚ÑΩñ╦╜±ñ¡╣■ñ▀╕ó╕┬ñ≥ ╗²ñ├ñ╞ñññδ╛∞╣τñ╦Ñ╗Ñ¡ÑσÑΩÑ╞Ñú╛σñ╬┤φ╕▒ñ¼ñóñδñ│ñ╚ñ╦├φ░╒ñ╖ñ╞ñ»ñ└ñ╡ññíú ╛▄║┘ñ╧<a href="../misc/security_tips.html">Ñ╗Ñ¡ÑσÑΩÑ╞Ñúñ╬ñ│ñ─</a>Ñ╔Ñ¡ÑσÑßÑ≤Ñ╚ñ≥ ╗▓╛╚ñ╖ñ╞ñ»ñ└ñ╡ññíú</p> </div></div> <div class="bottomlang"> <p><span>Available Languages: </span><a href="../en/vhosts/ip-based.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../fr/vhosts/ip-based.html" hreflang="fr" rel="alternate" title="FranŽ«ais"> fr </a> | <a href="../ja/vhosts/ip-based.html" title="Japanese"> ja </a> | <a href="../ko/vhosts/ip-based.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p> </div><div id="footer"> <p class="apache">Copyright 1995-2006 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">ÑΓÑ╕Ñσí╝Ñδ</a> | <a href="../mod/directives.html">Ñ╟ÑúÑ∞Ñ»Ñ╞ÑúÑ╓</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">═╤╕∞</a> | <a href="../sitemap.html">Ñ╡ÑñÑ╚Ñ▐Ñ├Ñ╫</a></p></div> </body></html>